import datetime
import enum
import ColorType
Debug_Flag:int=1
def debug(debug_str:str,debug_flag:int=1):
    if(debug_flag<=Debug_Flag):
        print(debug_str)
def prompt_print(src_str:str):
    print_str="[{}]{}".format(add_color(get_time_str(),ColorType.Purple),src_str)
    print(print_str)
def add_color(src_str:str,color:str=ColorType.Normal)->str:
    return (color+src_str+ColorType.EndType)
def get_time_str()->str:
    #return "{}".format(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
    return "{}".format(datetime.datetime.now().strftime("%H:%M:%S"))